package com.gitee.wsl.mathematics.geometry.d2.contour.segment

import com.gitee.wsl.mathematics.coordinate.d2.Coordinate2
import com.gitee.wsl.mathematics.geometry.api.segment.SegmentPoint
import com.gitee.wsl.mathematics.vector.vec2.Vec2f

interface CurveSegmentPoint2d<N:Number,V: Coordinate2<N, V>,S: CurveSegmentShape2D<N, V>>:
    SegmentPoint<N, V, S> {
    //override val segment: LineSegmentShape2D<N,V>
}

data class SegmentPoint(
    override val segment: Segment2D,
    override val segmentT: Double,
    override val position: Vec2f
) : CurveSegmentPoint2d<Float, Vec2f, Segment2D>